<%@page import="com.vo.News"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    import="com.dao.NewsDao, com.daoimpl.NewsDaoImpl" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		NewsDao dao = new NewsDaoImpl();
		List<News> newsList = dao.findAllNews();
		session.setAttribute("newsList", newsList);
		response.sendRedirect("newsbytype.jsp");
	%>

</body>
</html>